<div class="gap"></div>
<div class="form">


    <?php
    $form = $this->beginWidget('GxActiveForm', array(
        'id' => 'student-personal-details-form',
        'enableAjaxValidation' => false,
        'htmlOptions' => array('class' => "form-horizontal", 'role' => 'form')
    ));
    ?>



    <section class="form-step1">
        <div class="container">
            <div class="form-group">
                <div class="col-lg-12">
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <h3 class="panel-title">Student's Personal Details (1/5)</h3>
                        </div>
                        <div class="panel-body">
                            <div class="col-lg-10">
                                <p class="note">
                                    <?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
                                </p>



                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'last_name'); ?>
                                    </div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'last_name', array('maxlength' => 145)); ?>
                                        <?php echo $form->error($model, 'last_name'); ?>

                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'middile_name'); ?>
                                    </div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'middile_name', array('maxlength' => 145)); ?>
                                        <?php echo $form->error($model, 'middile_name'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'fist_name'); ?></div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'fist_name', array('maxlength' => 145)); ?>
                                        <?php echo $form->error($model, 'fist_name'); ?>
                                    </div>
                                </div>
                                <!-- form-group -->
                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'gender'); ?></div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'gender'); ?>
                                        <?php echo $form->error($model, 'gender'); ?>
                                    </div> </div>
                                <!-- form-group -->
                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'student_mobile_number'); ?></div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'student_mobile_number', array('maxlength' => 25)); ?>
                                        <?php echo $form->error($model, 'student_mobile_number'); ?>
                                    </div>
                                </div><!-- form-group -->
                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'friends_mobile_no_for_emergency'); ?></div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'friends_mobile_no_for_emergency', array('maxlength' => 25)); ?>
                                        <?php echo $form->error($model, 'friends_mobile_no_for_emergency'); ?>
                                    </div><!-- form-group -->
                                </div><!-- form-group -->
                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'student_email_address'); ?></div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'student_email_address', array('maxlength' => 145)); ?>

                                        <?php echo $form->error($model, 'student_email_address'); ?>
                                    </div> </div><!-- form-group -->
                                <div class="form-group">
                                    <div class="col-sm-4 control-label">
                                        <?php echo $form->labelEx($model, 'country_id'); ?></div>
                                    <div class="col-sm-5">
                                        <?php echo $form->dropDownList($model, 'country_id', GxHtml::listDataEx(Country::model()->findAllAttributes(null, true))); ?>
                                        <?php echo $form->error($model, 'country_id'); ?>
                                    </div>
                                </div><!-- form-group -->

                            </div>
                        </div>



                        <div class="gap"></div>
                        <div class="gap"></div>  

                    </div>
                    <div class="col-lg-2"></div>

                    <div class="form-group">
                        <div class="col-lg-12">
                            <div class="button-cont">

                                <a href="<?php echo yii::app()->createUrl('onlineAffidavit/index'); ?>" class="read-more pull-left">PREV</a>
                                <?php
                                echo CHtml::submitButton(Yii::t('app', 'NEXT'), array('class' => 'read-more pull-right'));
                                ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
</div>

</div>
</section>
<?php
$this->endWidget();
?>
<div class="gap"></div>
<div class="gap"></div>
<div class="gap"></div>
<div class="gap"></div>
<script>
    $(document).ready(function() {
        bootbox.confirm("Are you sure?", function(result) {
            alert(result);
            Example.show("Confirm result: " + result);
        });
    })
</script>